<template>
  <el-table :data="data" :height="height" style="width: 100%">
    <el-table-column prop="deptName" label="辖区" width="150" />
    <el-table-column label="合计">
      <el-table-column prop="totalAcdCount" label="事故起数" />
      <el-table-column prop="totalSwrs" label="死亡人数" />
      <el-table-column prop="totalSsrs" label="受伤人数" />
    </el-table-column>

    <el-table-column label="国省道路">
      <el-table-column prop="gsdAcdCount" label="事故起数" />
      <el-table-column prop="gsdSwrs" label="死亡人数" />
      <el-table-column prop="gsdSsrs" label="受伤人数" />
    </el-table-column>

    <el-table-column label="农村道路">
      <el-table-column prop="ncdAcdCount" label="事故起数" />
      <el-table-column prop="ncdSwrs" label="死亡人数" />
      <el-table-column prop="ncdSsrs" label="受伤人数" />
    </el-table-column>

    <el-table-column label="城市道路">
      <el-table-column prop="csdAcdCount" label="事故起数" />
      <el-table-column prop="csdSwrs" label="死亡人数" />
      <el-table-column prop="csdSsrs" label="受伤人数" />
    </el-table-column>
  </el-table>



</template>

<script setup>
defineProps({
  height: {
    type: Number,
    default: 500
  },
  data: {
    type: Array
  }
})
</script>

<style lang="less" scoped></style>
